const { add, find, findAll, update, del } = require('../controller/article')

const router = require('koa-router')()

router.prefix('/article')

router.post('/add', add)
router.get('/find', find)
router.get('/findAll', findAll)
router.post('/update', update)
router.post('/del', del)

module.exports = router